@foreach ($data['menu'] as $menu)
        <li class="layui-nav-item">
            <a href="javascript:;" lay-tips="{{ $menu['title'] }}" lay-direction="2" @if($menu['children'])'' @else  lay-href="{{url('admin/'.$menu['href'])}}" @endif>
                <i class="iconfont {{ $menu['icon'] }}"></i>
                <cite>{{ $menu['title'] }}</cite>
            </a>
            @if($menu['children'])
            <dl class="layui-nav-child">
                @foreach ($menu['children'] as $child)
                    <dd><a lay-href="{{url('admin/'.$child['href'])}}">{{ $child['title'] }}</a></dd>
                @endforeach
            </dl>
            @endif 
        </li>
@endforeach
